<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>分类</title>
		<link rel="stylesheet" type="text/css" href="css/rest.css" />
		<link rel="stylesheet" type="text/css" href="css/swiper.min.css" />
		<link rel="stylesheet" type="text/css" href="css/fenlei.css" />
		<link rel="stylesheet" type="text/css" href="css/iconfont.css" />
		<script src="js/swiper.min.js" type="text/javascript" charset="utf-8"></script>

	</head>

	<body>
		<div class="web">
			<header>
				<div class="back fl">
					<a href="index.html">Back</a>
				</div>
				<div class="selectBar">
					<select name="">
						<option value="">广州市</option>
						<option value="">上海</option>
						<option value="">深圳</option>
					</select>
					<!--<i class="iconfont icon-icon-up"></i>-->
				</div>
				<div class="back_a ">
					分类
				</div>

				<div class="clear"></div>
			</header>
			<section>
				<div class="swiper-container">
					<div class="swiper-wrapper">
						<div class="swiper-slide">
							<div class="leib">
								<div class="leib_img">
									<img src="img/2-1.png" />
								</div>
								<p>美食</p>
							</div>
						</div>
						<div class="swiper-slide">
							<div class="leib">
								<div class="leib_img">
									<img src="img/2-2.png" />
								</div>
								<p>电影</p>
							</div>
						</div>
						<div class="swiper-slide">
							<div class="leib">
								<div class="leib_img">
									<img src="img/2-3.png" />
								</div>
								<p>运动</p>
							</div>
						</div>
						<div class="swiper-slide">
							<div class="leib">
								<div class="leib_img">
									<img src="img/2-4.png" />
								</div>
								<p>唱歌</p>
							</div>
						</div>
					</div>
				</div>
				<!--<div class="leib_b clearfix">
						<div class="leib">
							<div class="leib_img">
								<img src="img/2-1.png" />
							</div>
							<p>美食</p>
						</div>
						<div class="leib">
							<div class="leib_img">
								<img src="img/2-2.png" />
							</div>
							<p>电影</p>
						</div>
						<div class="leib">
							<div class="leib_img">
								<img src="img/2-3.png" />
							</div>
							<p>运动</p>
						</div>
						<div class="leib">
							<div class="leib_img">
								<img src="img/2-4.png" />
							</div>
							<p>唱歌</p>
						</div>
					</div>-->
				<div class="youhui clearfix">
					<div class="tu"><img src="img/13-1.png" /></div>
					<h4><a href="">美食类</a></h4>
					<a href=""><span>更多<i class="iconfont icon-you"></i></span></a>
				</div>
				<div class="tup clearfix">
					<div class="tup_a">
						<a href=""><img src="img/6-3_03.jpg" /></a>
					</div>

					<div class="tup_a">
						<a href=""><img src="img/14-1_03.jpg" /></a>
					</div>

					<div class="tup_a">
						<a href=""><img src="img/14-6_03.jpg" /></a>
					</div>

					<div class="tup_a">
						<a href=""><img src="img/14-7_03.jpg" /></a>
					</div>
				</div>
				<div class="youhui clearfix">
					<div class="tu"><img src="img/13-2.png" /></div>
					<h4><a href="">运动类</a></h4>
					<a href=""><span>更多<i class="iconfont icon-you"></i></span></a>
				</div>
				<div class="tup clearfix">
					<div class="tup_a">
						<a href=""><img src="img/16-7.png" /></a>
					</div>

					<div class="tup_a">
						<a href=""><img src="img/16-8.png" /></a>
					</div>

					<div class="tup_a">
						<a href=""><img src="img/16-9.png" /></a>
					</div>

					<div class="tup_a">
						<a href=""><img src="img/16-10.png" /></a>
					</div>
				</div>
				<div class="youhui clearfix">
					<div class="tu"><img src="img/2220_03.jpg" /></div>
					<h4><a href="">电影类</a></h4>
					<a href=""><span>更多<i class="iconfont icon-you"></i></span></a>
				</div>
				<div class="tup clearfix">
					<div class="tup_a">
						<a href=""><img src="img/222-1_03.jpg" /></a>
					</div>

					<div class="tup_a">
						<a href=""><img src="img/222-2_03.jpg" /></a>
					</div>

					<div class="tup_a">
						<a href=""><img src="img/222-1_03.jpg" /></a>
					</div>

					<div class="tup_a">
						<a href=""><img src="img/222-2_03.jpg" /></a>
					</div>
				</div>

			</section>

			<footer>
				<ul class="clearfix">
					<li>
						<a href="index.html">
							<i class=" iconfont icon-noun28593cc active"></i>
							<p>首页</p>
						</a>
					</li>
					<li class="active">
						<a href="fenlei.html">
							<i class="iconfont icon-fl "></i>
							<p>分类</p>
						</a>
					</li>
					<li>
						<a href="watch.html">
							<i class="iconfont icon-zhinanzhen"></i>
							<p>发现</p>
						</a>
					</li>
					<li>
						<a href="me.html">
							<i class="iconfont icon-ren"></i>
							<p>我的</p>
						</a>
					</li>
				</ul>
			</footer>
		</div>
	</body>
	<script>
		document.body.style.height = window.innerHeight + "px";

		/*动态改变根元素字体大小*/
		function recalc() {
			var clientWidth = document.documentElement.clientWidth;
			if(!clientWidth) return;
			document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
			// 字体大小  =1个rem单位表示多少个像素*(设备宽度    /  设计图宽度)
		}

		function initRecalc() {
			recalc();
			var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
			if(!document.addEventListener) return;
			window.addEventListener(resizeEvt, recalc, false);
			document.addEventListener('DOMContentLoaded', recalc, false);
		}
		initRecalc();
	</script>
	<script type="text/javascript">
		new Swiper('.swiper-container', {
			loop: true,
			direction: "horizontal",
			pagination: ".swiper-pagination",
			slideToClickedSlide:"true",
			autoplay:3000,
			speed:300,
			slidesPerView : 4,
			slidesPerGroup : 4,
			
		});
	</script>

</html>